package cc.rengu.igas.share.core.service.trans;

import cc.rengu.oltp.service.base.RadpService;
import cc.rengu.oltp.utility.util.XmlTreeUtil;

public class NginxHealthCheckService extends RadpService {
    @Override
    protected int bizInit(String s) {
        return 0;
    }

    @Override
    protected int bizProcess(String s, int i) {
        try {
            XmlTreeUtil xmlTreeUtil = new XmlTreeUtil();
            xmlTreeUtil.setXmlTreeStringValue("_MESSAGEHEAD/@server_ret", "200");
        } catch (Exception e) {
            rglog.error(e.getMessage());
        }
        return 0;
    }

    @Override
    protected int bizTerminate(String s) {
        return 0;
    }
}
